.view_message, .edit_form, .message {
  padding: 24px;
}

.view_message p, .edit_form p, .message p {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 16px;
  text-align: center;
}

.view_message form, .edit_form form, .message section {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto;
}

form label {
  margin-bottom: 6px;
}

.message section {
  padding: 24px;
  background-color: white;
  border-radius: 8px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.msg {
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 24px;
  color: black;
  margin-bottom: 2px;
}

.left .msg {
  background-color: #e3e3e3;
}
.right .msg {
  background-color: #34d399;
}

.left svg, .right svg {
  position: absolute;
  top: 10px;
}

.left svg {
  left: -12px;
}
.left svg path {
  fill: #e3e3e3;
}

.right svg {
  transform: rotate(180deg);
  right: -12px;
}
.right svg path {
  fill: #34d399;
}

.time {
  font-size: 12px;
  color: #8a8a8a;
}

.send {
  display: flex;
  margin-top: 12px;
}
